def di(x):
    a = ''
    if x:
        a=di(x//2)
        return a+str(x%2)
    else :
        return a
print(di(5))
